Skip to content

Add documents and embbedings database metrics to IndexStats #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Alirexaa
Copy link
Contributor

Pull Request

Related issue

Fixes #629
Fixes #628

What does this PR do?

This pull request includes changes to the IndexStats class in the Meilisearch namespace to enhance its functionality by adding new properties. These changes aim to provide more detailed statistics about the indexed documents.

Enhancements to IndexStats class:

  • src/Meilisearch/IndexStats.cs: Added new properties RawDocumentDbSize, AvgDocumentSize, NumberOfEmbeddedDocuments, and NumberOfEmbeddings to the IndexStats class. These properties provide additional insights into the size and structure of the indexed documents. [1] [2]

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! bors merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.13] Add documents database metrics to stats [v1.13] Add embbedings database metrics to stats
2 participants